]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dateMenu: Don't override accessible_role inherited from PanelMenu.Button
authorTanner Doshier <doshitan@gmail.com>
Sat, 16 Mar 2013 21:34:58 +0000 (16:34 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 4 May 2013 03:20:02 +0000 (23:20 -0400)
The menu is keyboard navigable now, so allow it to be advertised as such.

https://bugzilla.gnome.org/show_bug.cgi?id=667434

js/ui/dateMenu.js

index fa550be314af43b5c4a3065459e0bb3d3929d611..c3a8dcf63e4042174e39e3a668b488ff3ebb7808 100644 (file)
@@ -49,11 +49,6 @@ const DateMenuButton = new Lang.Class({
             menuAlignment = 1.0 - menuAlignment;
         this.parent(menuAlignment);
 
-        // At this moment calendar menu is not keyboard navigable at
-        // all (so not accessible), so it doesn't make sense to set as
-        // role ATK_ROLE_MENU like other elements of the panel.
-        this.actor.accessible_role = Atk.Role.LABEL;
-
         this._clockDisplay = new St.Label();
         this.actor.add_actor(this._clockDisplay);